package com.eml.service.entity;

import java.util.Date;

public class Orderdetail {

    private Integer orderDetailId; //订单编号
    private Date orderDetailTime; //下单时间
    private String orderDetailAddress; //订单地址
    private String delivererInfo; //配送员信息
    private boolean orderDetailStatus; //订单状态

    public Orderdetail() {
    }

    public Orderdetail(Date orderDetailTime, String orderDetailAddress, String delivererInfo, boolean orderDetailStatus) {
        this.orderDetailTime = orderDetailTime;
        this.orderDetailAddress = orderDetailAddress;
        this.delivererInfo = delivererInfo;
        this.orderDetailStatus = orderDetailStatus;
    }

    public Orderdetail(Integer orderDetailId, Date orderDetailTime, String orderDetailAddress, String delivererInfo, boolean orderDetailStatus) {
        this.orderDetailId = orderDetailId;
        this.orderDetailTime = orderDetailTime;
        this.orderDetailAddress = orderDetailAddress;
        this.delivererInfo = delivererInfo;
        this.orderDetailStatus = orderDetailStatus;
    }

    public Integer getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Integer orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

    public Date getOrderDetailTime() {
        return orderDetailTime;
    }

    public void setOrderDetailTime(Date orderDetailTime) {
        this.orderDetailTime = orderDetailTime;
    }

    public String getOrderDetailAddress() {
        return orderDetailAddress;
    }

    public void setOrderDetailAddress(String orderDetailAddress) {
        this.orderDetailAddress = orderDetailAddress;
    }

    public String getDelivererInfo() {
        return delivererInfo;
    }

    public void setDelivererInfo(String delivererInfo) {
        this.delivererInfo = delivererInfo;
    }

    public boolean isOrderDetailStatus() {
        return orderDetailStatus;
    }

    public void setOrderDetailStatus(boolean orderDetailStatus) {
        this.orderDetailStatus = orderDetailStatus;
    }

    @Override
    public String toString() {
        return "Orderdetail{" +
                "orderDetailId=" + orderDetailId +
                ", orderDetailTime=" + orderDetailTime +
                ", orderDetailAddress='" + orderDetailAddress + '\'' +
                ", delivererInfo='" + delivererInfo + '\'' +
                ", orderDetailStatus=" + orderDetailStatus +
                '}';
    }
}
